<div id ="content">
    <?php if ($this->session->flashdata('error')): ?>
        <div class="affiche_erreur">
        <?php echo $this->session->flashdata('error'); ?>
    </div>
    <?php endif; ?>
    <?php echo form_open_multipart('admin_image/upload_images'); ?>
        <div id="title_content">Upload Image</div>
        <table class="form_content" width="100%">
       <tr>
            <td>Image</td>
            <td>
                <?php if (isset($error))
                    echo $error; ?>
                <input type="file" name="userfile[]" size="20" class="multi" />
            </td>
        </tr>
    
        <tr>
            <td colspan="2"><?php echo form_submit('submit', 'Upload', 'class="form_submit"') ?></td>
        </tr>
    </table>
<?php echo form_close(); ?>
</div>
